<template>
    <ul>
        <li v-for='i in ddd'>{{i}}</li>
        {{typeof age}}
        <button @click='click123'>qqq</button>
    </ul>
</template>
<script>
// @ is an alias to /src
// props data  methods computed   这四个属性中的属性名 尽量不要重复
export default {
    props:['ddd','age'],
    data() {
        return {
          name:666,
          age2:1000
        }
    },
    methods: {
      click123(){
        this.$emit('qqq',this.age2)
        // 父组件的fn(1,2,3,4,5,6,7)
      }
    },
    components: {
        
    }
}
</script>
<style lang="less">

</style>